#codepen-link {
  position: absolute;
  bottom: 30px;
  right: 30px;
  height: 60px;
  width: 60px;
  z-index: 10;
  border: 1px solid white;
  border-radius: 50%;
  box-sizing: border-box;
  background-image: url("http://www.seanalexanderfree.com/codepen/avatar.jpg");
  background-position: center center;
  background-size: cover;
  opacity: 0.5;
  transition: all 0.25s;
}
#codepen-link:hover {
  opacity: 0.8;
  box-shadow: 0 0 6px rgba(25, 35, 55, 0.8);
}

body {
  background: #100;
  background-attachment: fixed;
  height: 100vh;
  width: 100vw;
}

.wrapper {
  height: 650px;
  left: calc(50% - 475px);
  width: 950px;
  position: absolute;
  top: 100px;
}
.wrapper .title span {
  font-weight: 400;
}
.wrapper .cart-display, .wrapper .form-checkout {
  position: absolute;
  transition: all 0.5s ease-out;
}
.wrapper .cart-display {
  background: #eee;
  box-shadow: 0 1px 4px 1px #999;
  height: 620px;
  position: absolute;
  top: 15px;
  transform: translateX(205px);
  width: 440px;
}
.wrapper .cart-display .cart-inner h2 {
  background: #fff;
  border-bottom: 1px solid #ccc;
  color: #444;
  font-family: "Work Sans", sans-serif;
  font-size: 2em;
  font-weight: 300;
  height: 60px;
  line-height: 60px;
  text-align: center;
}
.wrapper .cart-display .cart-items {
  box-sizing: border-box;
}
.wrapper .cart-display .cart-items .cart-item {
  align-items: center;
  -webkit-align-items: center;
  border-bottom: 1px solid #ccc;
  display: flex;
  -webkit-display: flex;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  padding: 10px;
}
.wrapper .cart-display .cart-items .cart-item *:not(.item-info) {
  flex: 2;
  -webkit-flex: 2;
}
.wrapper .cart-display .cart-items .cart-item .item-image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto 100%;
}
.wrapper .cart-display .cart-items .cart-item .item-info {
  flex: 3;
  -webkit-flex: 3;
  padding: 10px;
}
.wrapper .cart-display .cart-items .cart-item .item-info * {
  margin-left: 10px;
}
.wrapper .cart-display .cart-items .cart-item .item-info .item-name {
  font-size: 1.1em;
  font-weight: 600;
}
.wrapper .cart-display .cart-items .cart-item .item-info .item-name a {
  color: #444;
  margin: 0;
  padding: 0;
  text-decoration: none;
}
.wrapper .cart-display .cart-items .cart-item .item-info .item-year {
  font-size: 1.1em;
  font-style: italic;
}
.wrapper .cart-display .cart-items .cart-item .item-info .item-desc {
  padding: 5px;
}
.wrapper .cart-display .cart-items .cart-item .item-price {
  font-size: 1.2em;
  text-align: center;
  text-decoration: underline;
}
.wrapper .cart-display .cart-items #item-1 .item-image {
  background-image: url("http://www.seanalexanderfree.com/codepen/dailyui/002/nms.png");
  height: 140px;
  width: 100px;
}
.wrapper .cart-active {
  transform: translateX(0px);
}
.wrapper .cart-active + .form-checkout {
  transform: translateX(450px);
}
.wrapper .form-checkout {
  background: #eee;
  box-shadow: 0 1px 4px 1px #999;
  display: flex;
  -webkit-display: flex;
  flex-direction: column;
  -webkit-direction: column;
  height: 650px;
  transform: translateX(230px);
  top: 0;
  width: 500px;
  z-index: 9;
}
.wrapper .form-checkout .title {
  background: #fff;
  border-bottom: 1px solid #ccc;
  color: #444;
  font-family: "Work Sans", sans-serif;
  font-size: 2.5em;
  font-weight: 300;
  height: 70px;
  line-height: 70px;
  text-align: center;
}
.wrapper .form-checkout .total {
  color: #4caf50;
  font-family: "Work Sans", sans-serif;
  font-size: 1.5em;
  font-weight: 400;
  padding: 15px;
  text-align: center;
}

.cart-icon {
  background: #ec407a;
  border-radius: 50%;
  box-shadow: 0 1px 4px 1px #999;
  height: 60px;
  left: -30px;
  position: absolute;
  top: -10px;
  width: 60px;
}
.cart-icon .cart-toggle {
  display: none;
}
.cart-icon .cart-toggle:checked + .lbl-cart-toggle {
  opacity: 0;
}
.cart-icon .cart-toggle:checked ~ .close-icon:before, .cart-icon .cart-toggle:checked ~ .close-icon:after {
  opacity: 1;
}
.cart-icon .cart-toggle:checked ~ .close-icon:before {
  transform: rotate(45deg);
}
.cart-icon .cart-toggle:checked ~ .close-icon:after {
  transform: rotate(-45deg);
}
.cart-icon .lbl-cart-toggle {
  background: #ec407a url("http://www.seanalexanderfree.com/codepen/dailyui/002/cart.svg");
  background-position: 48% 60%;
  background-repeat: no-repeat;
  background-size: auto 55%;
  border-radius: 50%;
  display: block;
  height: 60px;
  position: absolute;
  transition: all 0.5s ease-out;
  width: 60px;
  z-index: 4;
}
.cart-icon .lbl-cart-toggle:hover {
  cursor: pointer;
}
.cart-icon .close-icon {
  height: 60px;
  width: 60px;
}
.cart-icon .close-icon:before, .cart-icon .close-icon:after {
  background: #fff;
  content: "";
  display: block;
  height: 2px;
  left: 20px;
  opacity: 0;
  position: absolute;
  top: 29px;
  transition: all 0.5s ease-out;
  width: 20px;
  z-index: 3;
}

.payment-select {
  align-items: flex-end;
  -webkit-align-items: flex-end;
  background: #009688;
  display: flex;
  -webkit-display: flex;
  height: 125px;
  justify-content: space-around;
  -webkit-justify-content: space-around;
}
.payment-select h3 {
  background: #26a69a;
  color: #fff;
  font-family: "Work Sans", sans-serif;
  padding: 15px;
  position: absolute;
  top: 125px;
  width: 470px;
}
.payment-select .r-type {
  display: none;
}
.payment-select .r-type:checked + .p-label {
  background-color: #26a69a;
}
.payment-select .p-label {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: auto 75%;
  display: block;
  height: 80px;
  position: relative;
  transition: all 0.25s ease-in-out;
  width: 25%;
}
.payment-select .p-label:hover {
  cursor: pointer;
}
.payment-select .selector {
  background: #eee;
  height: 16px;
  left: calc(12.5% - 8px);
  position: absolute;
  top: 242px;
  transform: rotate(45deg) translateX(0);
  transform-origin: center center;
  transition: all 0.25s ease-in-out;
  width: 16px;
}

.lbl-visa {
  background: url("http://www.seanalexanderfree.com/codepen/dailyui/002/visa.svg");
}

.lbl-mcard {
  background: url("http://www.seanalexanderfree.com/codepen/dailyui/002/mastercard.svg");
}

.lbl-amex {
  background: url("http://www.seanalexanderfree.com/codepen/dailyui/002/amex.svg");
}

.lbl-disc {
  background: url("http://www.seanalexanderfree.com/codepen/dailyui/002/discover.svg");
}

.r-visa:checked ~ .selector {
  left: calc(12.5% - 8px);
}

.r-mcard:checked ~ .selector {
  left: calc(37.5% - 8px);
}

.r-amex:checked ~ .selector {
  left: calc(62.5% - 8px);
}

.r-disc:checked ~ .selector {
  left: calc(87.5% - 8px);
}

.card {
  background: #9c27b0;
  border-radius: 10px;
  height: 210px;
  margin: 45px 80px;
  position: absolute;
  top: 250px;
  width: 340px;
}
.card .card-type {
  background-image: url("http://www.seanalexanderfree.com/codepen/dailyui/002/visa.svg");
  background-position: center center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  height: 40px;
  margin: 20px 30px;
  position: absolute;
  right: 0;
  transition: all 0.25s ease-in-out;
  width: 60px;
  z-index: 5;
}
.card:before, .card:after {
  background: #ab47bc;
  content: "";
  display: block;
  height: 210px;
  position: absolute;
  width: 150px;
  z-index: 3;
}
.card:before {
  background-image: url("http://www.seanalexanderfree.com/codepen/dailyui/002/chip.svg");
  background-position: 25% 30%;
  background-repeat: no-repeat;
  background-size: 30% auto;
  border-radius: 10px;
}
.card:after {
  left: 62px;
  transform: skew(15deg);
  z-index: 1;
}
.card .card-info {
  align-items: flex-start;
  -webkit-align-items: flex-start;
  display: flex;
  -webkit-display: flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  height: 110px;
  justify-content: space-around;
  -webkit-justify-content: space-around;
  padding-left: 30px;
  position: absolute;
  top: 85px;
  width: 340px;
}
.card .card-info div {
  position: relative;
  z-index: 4;
}
.card .card-info .c-info-input {
  background: transparent;
  border-color: orange;
  border-width: 0 0 1px 0;
  color: #fff;
  display: block;
  font-family: "Work Sans", sans-serif;
  font-size: 1em;
  outline: none;
  text-align: center;
  z-index: 4;
}
.card .card-info .c-in-num {
  position: relative;
  width: 280px;
}
.card .card-info .c-in-name {
  display: inline-block;
  margin-right: 15px;
  width: 185px;
}
.card .card-info .c-in-date-m, .card .card-info .c-in-date-y {
  display: inline-block;
  width: 35px;
}
.card .card-info .slash {
  color: #fff;
  font-family: "Work Sans", sans-serif;
  font-size: 1.2em;
  font-weight: 400;
  left: 3px;
  position: relative;
  top: 2px;
}
.card .card-info .c-in-cvv {
  left: 235px;
  position: relative;
  width: 45px;
}

.buttons {
  align-items: center;
  -webkit-align-items: center;
  display: flex;
  -webkit-display: flex;
  justify-content: center;
  -webkit-justify-content: center;
  height: 100px;
  position: relative;
  top: 280px;
}
.buttons .btn-checkout, .buttons .btn-paypal {
  background: #2196f3;
  border: none;
  outline: none;
}
.buttons .btn-checkout {
  color: #fff;
  font-family: "Work Sans", sans-serif;
  font-size: 1.1em;
  height: 60px;
  width: 120px;
}
.buttons .btn-checkout:hover {
  cursor: pointer;
}
.buttons .or {
  display: inline-block;
  font-family: "Work Sans", sans-serif;
  font-size: 1.25em;
  font-style: italic;
  margin: 0 20px;
}

